package cn.kgc.thread.demo1;

/**
 * @description:
 * @author: 石浩杰
 * @date: 2022-12-14 08:27
 */
public class MyThread extends Thread {
    @Override
    public void run() {
        String name=Thread.currentThread().getName();
        System.out.println(name+"正在运行");
    }

    public static void main(String[] args) {
        MyThread myThread=new MyThread();
        myThread.start();
    }
}
